Social Diffing
If GitHub can provide “social coding”, ghidriff can provide “social diffing”. Since the diff output is in markdown, you can publish the diff wherever markdown is supported. All the sections within the markdown are deep linked, which is great for sharing and pointing out specific areas of interest. - Ghidriff Blog Post
Sample Diffs
Github
Gists
- Host your recent diff in a GitHub gist: https://gist.github.com/clearbluejar/b95ae854a92ee917cd0b5c7055b60282
- Deep link to interesting
- functions
- command-line
READMEs
Posting to a Github Gist
After you create you diff it will be located in ghidriffs/diff.md
.
Option 1: Post using gh
client
cat
to stdin
:
cat ghidriff.md | gh gist create -f ghidriff.gist.filename.md -
Option 2: Copy/Paste Markdown to new gist
Just copy paste to new file and make sure to set the filetype to md
.
Publishing on a blog
See some of the samples posted in the diffs. If the blog enginer can render markdown, it should work.
Tweet with deep links
Here is an example of social diffing with CVE-2023-38140 from a recent post on Twitter. As each function is a deep-link, you can highlight (with deep-links) to the functions of interest. - Ghidriff Blog Post